<template>
    <div>
        <span>这是分类页面</span>
        <button @click="goHome">回到首页</button>
    </div>
</template>

<script>
    export default {
        methods:{
            goHome(){
                this.$router.go(-1);
            },
        },
    }
</script>

<style lang="scss" scoped>

</style>